#pragma once
#include <list>
#include "UIControl.h"
using namespace std;

class UIScreen : public UIControl
{
protected:
	list<UIControl* >	m_pControls;
	UIControl*			m_pFocusing;
public:
					UIScreen(UIControl* p_pParent = 0);
	virtual			~UIScreen();

	void			add(UIControl* p_pControl);
	void			remove(UIControl* p_pControl);

	virtual	void	onDraw();
	virtual void	onLostFocus();
	virtual LPSTR	getType();
};
